import Vue from 'vue'
import VueRouter from 'vue-router'
import framePage from '../views/mainPage/framePage.vue'
import {sessionStorage} from '../common/cacheUtils.js';
import trhgRouterArr from './modules/trhg'
import {Modal} from "view-design";

function companInterceptor(to, from, next) {
    let check = sessionStorage('envInfoComan').get('check')
    if (check == '2') {
        Modal.warning({
            title: '提示',
            content: '<p>请先填报企业基本信息,如已填报请填写安全和环保责任人</p>',
            okText: '确认',
            onOk: () => {
                next("/envinfocompan");
            },
        })
    } else {
        next();
    }

}
Vue.use(VueRouter)

//获取原型对象上的push函数
const originalPush = VueRouter.prototype.push
VueRouter.prototype.push = function push (location, onResolve, onReject) {
  if (onResolve || onReject) return originalPush.call(this, location, onResolve, onReject)
  return originalPush.call(this, location).catch(err => err)
}


const router = new VueRouter({
    mode: 'hash',
    routes: [
        {
            path: '/',
            name: 'framePage',
            component: framePage,
            children: [{
                path: '/homepage',
                name: 'homepage',
                component: () =>
                    // import( /* webpackPrefetch: true */'@/views/mainPage/homepage.vue')
                    import( /* webpackPrefetch: true */'@/views/safe/cockpit/homepage.vue')
               },

			   {
                    path: '/homepage2',
                    name: 'homepage2',
                    component: () =>
                        import( /* webpackPrefetch: true */'@/views/mainPage/homepage.vue')
                },
                {
                    path: '/wholePage',
                    name: 'wholePage',
                    component: () =>
                        import( /* webpackPrefetch: true */'@/views/mainPage/wholePage.vue')
                },
                {
                    path: '/fileDetails',
                    name: 'fileDetails',
                    component: () =>
                        import( /* webpackPrefetch: true */'@/views/base/fileManagement/fileDetails.vue')
                },
                {  path: '/door',
                    name: 'door',
                    component: () =>
                        import( /* webpackPrefetch: true */'@/views/safe/door/door.vue')
                },

                {
                    path: '/noticeCenter',
                    name: 'noticeCenter',
                    component: () =>
                        import( /* webpackPrefetch: true */'@/views/base/noticeCenter/noticeCenter.vue'),
                    children: [
                        {
                        path: '/notice',
                        name: 'notice',
                        component: () =>
                            import( /* webpackPrefetch: true */  '@/views/base/noticeCenter/notice.vue')
                    },
                        {
                            path: '/noticeCC',
                            name: 'noticeCC',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/hidHazard/companyNoticeCC.vue')
                        },
                        {
                            path: '/adtReportCC',
                            name: 'adtReportCC',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/audit/adtReportCC.vue')
                        }
                    ]
                },
                {
                    path: '/problemFeedbackCenter',
                    name: 'problemFeedbackCenter',
                    component: () =>
                        import( /* webpackPrefetch: true */'@/views/safe/problemFeedback/problemFeedbackCenter.vue'),
                    children: [
                        {
                            path: '/problemFeedbackList2',
                            name: 'problemFeedbackList2',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/problemFeedback/problemFeedbackList2.vue')
                        },
                    ]
                },
                {
                    path: '/personalCenter',
                    name: 'personalCenter',
                    component: () =>
                        import( /* webpackPrefetch: true */'@/views/base/personalCenter/personalCenter.vue'),
                    children: [
                        {
                            path: '/sanctionApproval',
                            name: 'sanctionApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/sanction/sanctionApproval.vue')
                        },
                        {
                            path: '/securityDirectorForm',
                            name: 'securityDirectorForm',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityDirector/securityDirectorForm.vue')
                        },
                        {
                            path: '/problemRectForApproval',
                            name: 'problemRectForApproval',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/safe/audit/problemRectForApproval.vue')
                        },

                        {
                            path: '/problemTwoRectForApproval',
                            name: 'problemTwoRectForApproval',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/safe/auditTwoLevel/problemRectForApproval.vue')
                        },
                        {
                            path: '/EnQuestionDetailForApproval',
                            name: 'EnQuestionDetailForApproval',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/environment/account/EnQuestionDetailForApproval.vue')
                        },
                        {
                            path: '/securityDirectorRegisterForm',
                            name: 'securityDirectorRegisterForm',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityDirector/securityDirectorRegisterForm.vue')
                        },
                        {
                            path: '/securityDirectorChangeForm',
                            name: 'securityDirectorChangeForm',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/securityDirector/securityDirectorChangeForm.vue')
                        },
                        {
                            path:'/reportListForApproval',
                            name:'reportListForApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/report/reportListForApproval.vue')

                        },
                        {
                            path:'/evalSummaryApproval',
                            name:'evalSummaryApproval',
                            component: () =>
                            import( /* webpackPrefetch: true */'@/views/environment/standardization/evalSummaryApproval.vue')
                        },
                        {
                        path: '/todoList',
                        name: 'todoList',
                        component: () =>
                            import( /* webpackPrefetch: true */  '@/views/base/personalCenter/todoList.vue')
                        },
                        {
                            path: '/doneList',
                            name: 'doneList',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/base/personalCenter/doneList.vue')
                        },
                        {
                            path: '/selfList',
                            name: 'selfList',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/base/personalCenter/selfList.vue')
                        },
                        {
                            path: '/apsgForm',
                            name: 'apsgForm',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/apsgForm.vue')
                        },
                        {
                            path: '/hidHazardForm',
                            name: 'hidHazardForm',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/hidHazardForm.vue')
                        },
                        {
                            path: '/problemNoticeForApproval',
                            name: 'problemNoticeForApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/problemNoticeForApproval.vue')
                        },
                        {
                            path: '/promotionPlanForApproval',
                            name: 'promotionPlanForApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/promotionPlanForApproval.vue')
                        },
                        {
                            path: '/rectificationPlanForApproval',
                            name: 'rectificationPlanForApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/adtRectificationForApproval.vue')
                        },
                        {
                            path: '/envAccountForApproval',
                            name: 'envAccountForApproval',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/environment/account/EnQuestionForApproval.vue')
                        },
                        {
                            path: '/rectificationNoticeForm',
                            name: 'rectificationNoticeForm',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/rectificationNoticeForm.vue')
                        },
                        {
                            path: '/briefingListForApproval',
                            name: 'briefingListForApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/briefing/briefingListForApproval.vue')
                        },
                        {
                            path: '/enterpriseForApproval',
                            name: 'enterpriseForApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/report/enterpriseForApproval.vue')
                        },
                        {
                            path: '/eventSendForApproval',
                            name: 'eventSendForApproval',
                            component:()=>
                                import( /* webpackPrefetch: true */ '@/views/environment/env/eventSend/eventSendForApproval.vue')
                        },
                        {
                            path: '/programmeForApproval',
                            name: 'programmeForApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/activity/programme/programmeForApproval.vue')
                        },
                        {
                            path: '/auditReportForm',
                            name: 'auditReportForm',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/adtReportForm.vue')
                        },
                        {
                            path: '/auditTwoReportForm',
                            name: 'auditTwoReportForm',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/adtReportForm.vue')
                        },
                        {
                            path: '/interestedPartiesBlackForm',
                            name: 'interestedPartiesBlackForm',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/interestedPartiesBlackForm.vue')
                        },
                        {
                            path: '/ecoPortraitSubmitForApproval',
                            name: 'ecoPortraitSubmitForApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ecoPortrait/submit.vue')
                        },
                        {
                            path: '/ptwTicketForApproval', //模板配置
                            name: 'ptwTicketForApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ptw/ticket/ptwTicketForApproval.vue')
                        },
                    ]
                },
                {
                    path: '/modular',
                    name: 'modular',
                    component: () =>
                        import( /* webpackPrefetch: true */'@/views/mainPage/modulars.vue'),
                    children: [
						{
						    path: '/homepageEn',
						    name: 'homepageEn',
						    component: () =>
						        // import( /* webpackPrefetch: true */'@/views/mainPage/homepage.vue')
						        import( /* webpackPrefetch: true */'@/views/safe/cockpit/homepageEn.vue')
						},
						{
						    path: '/homepageSafe',
						    name: 'homepageSafe',
						    component: () =>
						        // import( /* webpackPrefetch: true */'@/views/mainPage/homepage.vue')
						        import( /* webpackPrefetch: true */'@/views/safe/cockpit/homepageSafe.vue')
						},
                        {
                        path: '/mobileMenuManager',
                        name: 'mobileMenuManager',
                        component: () =>
                            import( /* webpackPrefetch: true */'@/views/base/authorityManager/mobileMenuManager.vue')
                        },
                        {
                            path: '/baseLog',
                            name: 'baseLog',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/authorityManager/baseLog.vue')
                        },
                        {
                            path: '/loginInfoStatistics',
                            name: 'loginInfoStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/authorityManager/loginInfoStatistics.vue')
                        },
                        {
                            path: '/menuManager',
                            name: 'menuManager',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/authorityManager/menuManager.vue')
                        },
                        {
                            path: '/companyRoleManager',
                            name: 'companyRoleManager',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/authorityManager/companyRoleManager.vue')
                        },
                        {
                            path: '/twoLevelRoleManager',
                            name: 'twoLevelRoleManager',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/authorityManager/TwoLevelRoleManager.vue')
                        },
                        {
                            path: '/roleManagerUserApply',
                            name: 'roleManagerUserApply',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/authorityManager/roleManagerUserApply.vue')
                        },
                        {
                            path: '/roleManager',
                            name: 'roleManager',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/authorityManager/roleManager.vue')
                        },
                        {
                            path: '/userRoleConfigure',
                            name: 'userRoleConfigure',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/authorityManager/userRoleConfigure.vue')
                        },
                        {
                            path: '/userChangeApply',
                            name: 'userChangeApply',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/authorityManager/userChangeApply.vue')
                        },
                        {
                            path: '/simplifyRoleManager',
                            name: 'simplifyRoleManager',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/authorityManager/simplifyRoleManager.vue')
                        },
                        {
                            path: '/ActivitiMaintenance',
                            name: 'ActivitiMaintenance',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/authorityManager/ActivitiMaintenance.vue')
                        },
                        {
                            path: '/userManager',
                            name: 'userManager',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/authorityManager/userManager.vue')
                        },
                        {
                            path: '/positionManager',
                            name: 'positionManager',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/authorityManager/positionManager.vue')
                        },
                        {
                            path: '/codingSortManager',
                            name: 'codingSortManager',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/code/codingSortManager.vue')
                        },
                        {
                            path: '/codingDetailManager',
                            name: 'codingDetailManager',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/code/codingDetailManager.vue')
                        },
                        {
                            path: '/taskList',
                            name: 'taskList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/task/taskList.vue'),
                            meta:{
								keepAlive:true,
                                pagedata:{
                                    total:0,
                                    pageSize:10
                                }
                            }
                        },
                        {
                            path: '/orgManager',
                            name: 'orgManager',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/org/orgManager.vue')
                        },
                        {
                            path: '/orgPoint',
                            name: 'orgPoint',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/org/orgPoint.vue')
                        },
                        {
                            path: '/auditMission',
                            name: 'auditMission',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/auditMission.vue')
                        },
                        {
                            path: '/aduitBright',
                            name: 'aduitBright',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/aduitBright.vue')
                        },
                        {
                            path: '/twoAduitBright',
                            name: 'twoAduitBright',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/aduitBright.vue')
                        },
                        {
                            path: '/auditTwoMission',
                            name: 'auditTwoMission',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/auditMission.vue')
                        },
                        {
                            path: '/auditGroupMission',
                            name: 'auditGroupMission',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/auditGroupMission.vue')
                        },
                        {
                            path: '/auditTwoGroupMission',
                            name: 'auditTwoGroupMission',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/auditGroupMission.vue')
                        },
                        {
                            path: '/auditMissionAndProblem',
                            name: 'auditMissionAndProblem',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/auditMissionAndProblem.vue')
                        },
                        {
                            path: '/adtProgramme',
                            name: 'adtProgramme',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/adtProgramme.vue')
                        },

                        {
                            path: '/adtProgrammeForApproval',
                            name: 'adtProgrammeForApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/adtProgrammeForApproval.vue')
                        },
                        {
                            path: '/adtReport',
                            name: 'adtReport',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/adtReport.vue')
                        },
                        {
                            path: '/adtTwoReport',
                            name: 'adtTwoReport',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/adtReport.vue')
                        },
                        {
                            path: '/healthBasic',
                            name: 'healthBasic',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/health/basicInfomation/index.vue')
                        },

                        {
                            path: '/healthFactors',
                            name: 'healthFactors',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/health/factors/index.vue')
                        },
                        {
                            path: '/healthContact',
                            name: 'healthContact',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/health/contact/index.vue')
                        },
                        {
                            path: '/healthTemplate',
                            name: 'healthTemplate',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/health/template/index.vue')
                        },
                        {
                            path: '/healthSafety',
                            name: 'healthSafety',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/health/safety/index.vue')
                        },
                        {
                            path: '/en_law',
                            name: 'en_law',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/spider/law.vue')
                        },
                        {
                            path: '/adtReportForApproval',
                            name: 'adtReportForApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/adtReportForApproval.vue')
                        },
                        {
                            path: '/adtAppraise',
                            name: 'adtAppraise',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/adtAppraise.vue')
                        },
                        {
                            path: '/adtPlan',
                            name: 'adtPlan',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/adtPlan.vue')
                        },
                        {
                            path: '/adtPlanTwo',
                            name: 'adtPlanTwo',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/adtPlan.vue')
                        },
                        {
                            path: '/problemAssignList',
                            name: 'problemAssignList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/problemAssignList.vue')
                        },
                        {
                            path: '/problemRectList',
                            name: 'problemRectList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/problemRectList.vue'),
                            beforeEnter: companInterceptor
                        },
                        {
                            path: '/checkPlan',
                            name: 'checkPlan',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/checkPlan/index.vue'),
                        },
                        {
                            path: '/checkPlanStatistics',
                            name: 'checkPlanStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/checkPlan/statistics.vue'),
                        },
                        {
                            path: '/checkPlanItem',
                            name: 'checkPlanItem',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/checkPlan/checkPlanItem.vue'),
                        },

                        {
                            path: '/twoProblemRectList',
                            name: 'twoProblemRectList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/problemRectList.vue')
                        },
                        {
                            path: '/auditCompany',
                            name: 'auditCompany',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/statistics/auditCompany.vue')
                        },
                        {
                            path: '/problemVerifyList',
                            name: 'problemVerifyList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/problemVerifyList.vue')
                        },
                        {
                            path: '/problemList',
                            name: 'problemList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/problemList.vue')
                        },
                        {
                            path: '/twoProblemList',
                            name: 'twoProblemList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/problemList.vue')
                        },
                        {
                            path: '/problemRectItem',
                            name: 'problemRectItem',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/safe/audit/problemRectItem.vue')
                        },
                        {
                            path: '/twoProblemRectItem',
                            name: 'twoProblemRectItem',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/safe/auditTwoLevel/problemRectItem.vue')
                        },
                        {
                            path: '/groupStatistics',
                            name: 'groupStatistics',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/safe/audit/statistics/groupStatistics.vue')
                        },
                        {
                            path: '/twoGroupStatistics',
                            name: 'twoGroupStatistics',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/safe/auditTwoLevel/statistics/groupStatistics.vue')
                        },
                        {
                            path: '/companyStatistics',
                            name: 'companyStatistics',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/safe/audit/statistics/companyStatistics.vue')
                        },
                        {
                            path: '/twoCompanyStatistics',
                            name: 'twoCompanyStatistics',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/safe/auditTwoLevel/statistics/companyStatistics.vue')
                        },
                        {
                            path: '/AdtExpert',
                            name: 'AdtExpert',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/AdtExpert.vue')
                        },
                        {
                            path: '/AdtExpertStatistics',
                            name: 'AdtExpertStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/statistics/AdtExpertStatistics.vue')
                        },
                        {
                            path: '/envAdtExpert', //环保审计专家
                            name: 'envAdtExpert',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/environment/standardization/selfcheckevaluation/adt/AdtExpert.vue')
                        },
                        {
                            path: '/envTax', //环保税
                            name: 'envTax',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/envtax/envTax.vue')
                        },
                        {
                            path: '/AuditTemplatePreset',
                            name: 'AuditTemplatePreset',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/AuditTemplatePreset.vue')
                        },
                        {
                            path: '/adtStatical',
                            name: 'adtStatical',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/adtStatical.vue')
                        },
                        {
                            path: '/ReportHonorStatis',
                            name: 'ReportHonorStatis',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/report/ReportHonorStatis.vue')
                        },
                        //危化品管理
                        {
                            path: '/hcmInfo',
                            name: 'hcmInfo',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/report/hcmInfo.vue')
                        },
                        {
                            path: '/hcmCheck',
                            name: 'hcmCheck',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/report/hcmCheck.vue')
                        },
                        {
                            path: '/hcmInfoStatis',
                            name: 'hcmInfoStatis',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/report/hcmInfoStatis.vue')
                        },
                        //门户
                        {
                            path: '/doorNotice',
                            name: 'doorNotice',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/door/notice.vue')
                        }, {
                            path: '/promise',
                            name: 'promise',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/door/promise.vue')
                        },
                        {
                            path: '/articalManager',
                            name: 'articalManager',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/artical/articalManager.vue')
                        },
                        {
                            path: '/popularization',
                            name: 'popularization',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/activity/popularization/popularization.vue')
                        },
                        //相关方 start
                        {
                            path: '/interestedPartiesRisk',
                            name: 'interestedPartiesRisk',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/interestedPartiesRisk.vue')
                        },
                        {
                            path: '/interestedPartiesBook',
                            name: 'interestedPartiesBook',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/interestedPartiesBook.vue')
                        },
                        {
                            path: '/contractorStatistics',
                            name: 'contractorStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/Statistics.vue')
                        },
                        {
                            path: '/contractorStatisticsNew',
                            name: 'contractorStatisticsNew',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/statisticsNew.vue')
                        },
						{
						    path: '/relatedPartyInspection',
						    name: 'relatedPartyInspection',
						    component: () =>
						        import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/relatedPartyInspection.vue')
						},
                        //特种设备相关start
                        {
                            path: '/assetAccount',
                            name: 'assetAccount',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/equipment/account/accountManager.vue')
                        },
                        {
                            path: '/specModel',
                            name: 'specModel',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/equipment/spec/specManager.vue')
                        },
                        {
                            path: '/equipmentGenera',
                            name: 'equipmentGenera',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/equipment/genera/generaManager.vue')
                        },
                        {
                            path: '/equipmentOperator',
                            name: 'equipmentOperator',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/equipment/personalManagement/personalManagement.vue')
                        },
                        {
                            path: '/equipmentCategory',
                            name: 'equipmentCategory',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/equipment/category/categoryManager.vue')
                        },
                        {
                            path: '/manufactureFactory',
                            name: 'manufactureFactory',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/equipment/manufacture/manufactureManager.vue')
                        },
                        //特种设备相关end
                        //隐患地图四色图
                        {
                            path: '/mapMarker',
                            name: 'mapMarker',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/mapMarker.vue')
                        },
                        //三同时
                        {//src/views/safe/cockpit/homepage.vue
                            path: '/threeSimProjectRegistration',
                            name: 'threeSimProjectRegistration',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/threesim/threeSimProjectRegistration.vue')
                        },
                        {//src/views/safe/cockpit/homepage.vue
                            path: '/threeSimProcess',
                            name: 'threeSimProcess',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/threesim/threeSimProcess.vue')
                        },
                        {//src/views/safe/cockpit/homepage.vue
                            path: '/threeSimDesign',
                            name: 'threeSimDesign',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/threesim/threeSimDesign.vue')
                        },
                        {//src/views/safe/cockpit/homepage.vue
                            path: '/threeSimComplete',
                            name: 'threeSimComplete',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/threesim/threeSimComplete.vue')
                        },
                        {//src/views/safe/cockpit/homepage.vue
                            path: '/threeSimAccount',
                            name: 'threeSimAccount',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/threesim/threeSimAccount.vue')
                        },
                        //应急相关start
                        {
                            path: '/rescueTeam',
                            name: 'rescueTeam',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/emergency/team/team.vue')
                        },
                        {
                            path: '/emergencyPlan',
                            name: 'emergencyPlan',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/emergency/plan/plan.vue')
                        },
                        {
                            path: '/EnWeatherControlMeasure',
                            name: 'EnWeatherControlMeasure',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/environment/rpt/hePoWeatherWarningResponseRpt/EnWeatherControlMeasure.vue')
                        },

                        {
                            path: '/rescueStaff',
                            name: 'rescueStaff',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/emergency/staff/staff.vue')
                        },
                        {
                            path: '/emergencyStorage',
                            name: 'emergencyStorage',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/emergency/storage/storage.vue')
                        },
                        {
                            path: '/emergencyStorageItem',
                            name: 'emergencyStorageItem',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/emergency/storage/storageItem.vue')
                        },
                        {
                            path: '/emergencyTrain',
                            name: 'emergencyTrain',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/emergency/train/emergencyTrain.vue')
                        },
                        {
                            path: '/emergencyInfo',
                            name: 'emergencyInfo',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/emergency/info/info.vue')
                        },
                        {
                            path: '/emergencyMeasure',
                            name: 'emergencyMeasure',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/emergency/measure/measure.vue')
                        },
                        {
                            path: '/emergencyDoc',
                            name: 'emergencyDoc',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/emergency/doc/emergencyDoc.vue')
                        },
												{
												    path: '/emergencyResources',
												    name: 'emergencyResources',
												    component: () =>
												        import( /* webpackPrefetch: true */'@/views/safe/emergency/resources/index.vue')
												},
                        //应急相关end
                        //消防管理
                        {
                            path: '/fireDevice',
                            name: 'fireDevice',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/fire/device/device.vue')
                        },
                        {
                            path: '/fireEquipment',
                            name: 'fireEquipment',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/fire/equipment/equipment.vue')
                        },
                        {
                            path: '/fireFacilities',
                            name: 'fireFacilities',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/fire/facilities/facilities.vue')
                        },
                        {
                            path: '/fireSuppliers',
                            name: 'fireSuppliers',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/fire/suppliers/suppliers.vue')
                        },
                        {
                            path: '/fireMonthSummary',
                            name: 'fireMonthSummary',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/fire/fireMonthSummary/index.vue')
                        },

                        //安全文化
                        {
                            path: '/SafetyStandard',
                            name: 'SafetyStandard',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/safety/SaStdStandard.vue')
                        },
                        {
                            path: '/SafetyStandardPlan',
                            name: 'SafetyStandardPlan',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/safety/SaStdStandardPlan.vue')
                        },
                        {
                            path: '/SaStdStandardSelfAssessment',
                            name: 'SaStdStandardSelfAssessment',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/safety/SaStdStandardSelfAssessment.vue')
                        },
                        //安全活动
                        {
                            path: '/activityInfo',
                            name: 'activityInfo',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/activity/info/info.vue')
                        },
                        {
                            path: '/activityWorks',
                            name: 'activityWorks',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/activity/works/works.vue')
                        },
                        {
                            path: '/activityTop',
                            name: 'activityTop',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/activity/top/index.vue')
                        },
                        {
                            path: '/statisticsActivity',
                            name: 'statisticsActivity',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/activity/statistics/statistics.vue')
                        },
                        {
                            path: '/programme',
                            name: 'programme',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/activity/programme/programme.vue')
                        },
                        {
                            path: '/evaluationPerf',
                            name: 'evaluationPerf',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/evaluationPerf.vue')
                        },
                        {
                            path: '/activitysStatical',
                            name: 'activitysStatical',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/activity/statical/activitysStatical.vue')
                        },
                        //相关方 start
                        {
                            path: '/interestedPartiesUser',
                            name: 'interestedPartiesUser',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/interestedPartiesUser.vue')
                        },
                        {
                            path: '/interestedPartiesBlack',
                            name: 'interestedPartiesBlack',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/interestedPartiesBlack.vue')
                        },

                        {
                            path: '/interestedPartiesSecurityProtocol',
                            name: 'interestedPartiesSecurityProtocol',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/interestedPartiesSecurityProtocol.vue')
                        },
                        {
                            path: '/interestedPartiesDisclosure',
                            name: 'interestedPartiesDisclosure',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/interestedPartiesDisclosure.vue')
                        },
                        {
                            path: '/interestedPartiesAccount',
                            name: 'interestedPartiesAccount',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/interestedPartiesAccount.vue')
                        },
                        {
                            path: '/interestedPartiesEvaluate',
                            name: 'interestedPartiesEvaluate',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/interestedPartiesEvaluate.vue')
                        },
                        {
                            path: '/workingRelatedParties', //正在作业相关方
                            name: 'workingRelatedParties',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/workingRelatedParties.vue')
                        },
                        //相关方 end
                        //风险防控管理 start
                        {
                            path: '/riskPreset',
                            name: 'riskPreset', //风险预置
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/riskPreventionControl/riskPreset/riskPreset.vue')
                        },
                        {
                            path: '/riskIdentification', //风险识别
                            name: 'riskIdentification',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/riskPreventionControl/riskIdentification/riskIdentification.vue')
                        },
                        {
                            path: '/riskApproval', //风险审核
                            name: 'riskApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/riskPreventionControl/riskApproval/riskApproval.vue')
                        },
                        {
                            path: '/riskStatical', //风险统计分析
                            name: 'riskStatical',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/statisticalAnalysis/riskStatical.vue')
                        },
                        {
                            path: '/riskAssess', //风险复评价
                            name: 'riskAssess',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/riskPreventionControl/riskAssess/riskAssess.vue')
                        },
                        {
                            path: '/riskBase', //安全风险库
                            name: 'riskBase',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/riskPreventionControl/riskBase/riskBase.vue')
                        },
                        {
                            path: '/semWorkerInfo',
                            name: 'semWorkerInfo',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/equipment/personalManagement/SaSemWorkerInfo.vue')
                        },
						{
						    path: '/SaSemWorkerInfoPending',
						    name: 'SaSemWorkerInfoPending',
						    component: () =>
						        import( /* webpackPrefetch: true */'@/views/safe/equipment/personalManagement/SaSemWorkerInfo.vue')
						},
                        {
                            path: '/readTimeInfo',
                            name: 'readTimeInfo',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/dataMaintenance/notice/notice.vue')
                        },
                        {
                            path: '/noticeToOrg',
                            name: 'noticeToOrg',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/dataMaintenance/notice/noticeToOrg.vue')
                        },
                        {
                            path: '/trafficSafe', //模板配置
                            name: 'trafficSafe',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/traffic/safe/index.vue')
                        },
                        {
                            path: '/trafficExamin', //交通考核汇总
                            name: 'trafficExamin',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/traffic/new/saExamine.vue')
                        },
                        {
                            path: '/freightVehicles', //模板配置
                            name: 'freightVehicles',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/freightVehicles/list.vue')
                        },
                        {
                            path: '/freightVehiclesStatistics', //模板配置
                            name: 'freightVehiclesStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/freightVehicles/statistics.vue')
                        },
                        //作业许可start
                        {
                            path: '/model', //模板配置
                            name: 'model',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ptw/model/model.vue')
                        },
                        {
                            path: '/scheme', //模板配置
                            name: 'scheme',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ptw/ticket/ptwPlan.vue')
                        },
                        {
                            path: '/ptwRecord', //模板配置
                            name: 'ptwRecord',
                            meta:{
                                keepAlive:true
                            },
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ptw/ticket/ptwTicket.vue')
                        },
                        {
                            path: '/ptwTicketEdit', //模板配置
                            name: 'ptwTicketEdit',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ptw/ticket/ptwTicketEdit.vue')
                        },
                        {
                            path: '/ptwTicketView', //模板配置
                            name: 'ptwTicketView',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ptw/ticket/ptwTicketView.vue')
                        },
                        {
                            path: '/ptwTicketRecordView', //模板配置
                            name: 'ptwTicketRecordView',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ptw/ptwRecord/ptwTicketRecordView.vue')
                        },
                        {
                            path: '/ptwStatistics', //作业许可填报
                            name: 'ptwStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ptw/statistics/ptwStatistics.vue')
                        },
                        {
                            path: '/ptwStatisticsByType', //作业许可填报
                            name: 'ptwStatisticsByType',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ptw/statistics/ptwStatisticsByType.vue')
                        },
                        //作业许可end
                        //风险防控管理 end
                        {
                            path: '/eqCarInfo', //内部交通车辆
                            name: 'eqCarInfo',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/traffic/carInfo/eqCarInfo.vue')
                        },
						{
						    path: '/eqCarInfoPending', //待年检内部交通车辆
						    name: 'eqCarInfoPending',
						    component: () =>
						        import( /* webpackPrefetch: true */'@/views/safe/traffic/carInfo/eqCarInfoPending.vue')
						},
                        {
                            path: '/carDriverPending', //待审内部交通人员
                            name: 'carDriverPending',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/traffic/carDriver/carDriverPending.vue')
                        },
						{
						    path: '/carDriver', //内部交通人员
						    name: 'carDriver',
						    component: () =>
						        import( /* webpackPrefetch: true */'@/views/safe/traffic/carDriver/carDriver.vue')
						},
                        {
                            path: '/trafficAccident', //交通事故
                            name: 'trafficAccident',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/traffic/accident/accident.vue')
                        },
                        {
                            path: '/trafficViolation', //违章记录
                            name: 'trafficViolation',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/traffic/violation/violation.vue')
                        },

						{
						    path: '/trafficPenalty', //罚款记录
						    name: 'trafficPenalty',
						    component: () =>
						        import( /* webpackPrefetch: true */'@/views/safe/traffic/trafficPenalty/penalty.vue')
						},
						{
						    path: '/groupTrafficPenalty', //集团罚款记录
						    name: 'groupTrafficPenalty',
						    component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/traffic/trafficPenalty/groupPenalty.vue')
						},
						{
						    path: '/carStatistics', //车辆违章统计
						    name: 'carStatistics',
						    component: () =>
						        import( /* webpackPrefetch: true */'@/views/safe/traffic/violation/violationCarStatistics.vue')
						},
						{
						    path: '/driverStatistics', //人员违章统计
						    name: 'driverStatistics',
						    component: () =>
						        import( /* webpackPrefetch: true */'@/views/safe/traffic/violation/violationDriverStatistics.vue')
						},


                        {
                            path: '/carDrunkDriving', //私家车醉驾台账
                            name: 'carDrunkDriving',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/traffic/new/carDrunkDriving.vue')
                        },
                        {
                            path: '/saCarInfo', //内部交通车辆
                            name: 'saCarInfo',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/traffic/new/saCarInfo.vue')
                        },
                        {
                            path: '/saCarDriver', //内部交通驾驶员
                            name: 'saCarDriver',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/traffic/new/saCarDriver.vue')
                        },
                        {
                            path: '/saViolation', //内部交通交通违法记录
                            name: 'saViolation',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/traffic/new/saViolation.vue')
                        },
                        {
                            path: '/saViolationNotification', //季度交通违法情况通报
                            name: 'saViolationNotification',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/traffic/new/saViolationNotification.vue')
                        },
                        {
                            path: '/saAccident', //内部交通交通事故
                            name: 'saAccident',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/traffic/new/saAccident.vue')
                        },
                        {
                            path: '/saPenalty', //严重交通违法行为考核
                            name: 'saPenalty',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/traffic/new/saPenalty.vue')
                        },
                        {
                            path: '/saPenaltyMany', //一车发生三起以上
                            name: 'saPenaltyMany',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/traffic/new/saPenaltyMany.vue')
                        },

                        {
                            path: '/environment', //环保设施设备
                            name: 'environment',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/environment/environment.vue')
                        },
                        {
                            path:'/accHazardScreen',
                            name:'accHazardScreen',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/accHazardScreen/index.vue')

                        },
                        //安全事故
                        {
                            path:'/briefingList' ,
                            name:'briefingList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/briefing/briefingList.vue')

                        },
                        {
                            path: '/monthly',
                            name: 'monthly',
                            component: () =>
                                // import( /* webpackPrefetch: true */'@/views/safe/accident/monthly')
                                import( /* webpackPrefetch: true */'@/views/safe/accident/briefing/briefingList.vue')
                        },
                        {
                            path:'/briefingStatistics',
                            name:'briefingStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/briefing/statistics.vue')
                        },
                        {
                            path:'/briefingNewStatistics',
                            name:'briefingNewStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/briefing/newStatistics.vue')
                        },
                        {
                            path:'/briefingStatistics1',
                            name:'briefingStatistics1',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/briefing/statistics1.vue')
                        },
                        {
                            path:'/briefingStatisticsV2',
                            name:'briefingStatisticsV2',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/briefing/statisticsV2.vue')
                        },
                        {
                            path:'/eventAccountStatistics',
                            name:'eventAccountStatistics',
                            component:()=>
                                import(/* webpackPrefetch: true */'@/views/environment/env/envEventStatistics/eventAccountStatistics.vue')
                        },
                        {
                            path:'/finalReport',
                            name:'finalReport',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/finalreport/finalReport.vue')

                        },
                        {
                            path:'/followReportList',
                            name:'followReportList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/followReport/followReportList.vue')

                        },
                        {
                            path:'/reportList',
                            name:'reportList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/report/report.vue')

                        },
                        {
                            path:'/reportTip',
                            name:'reportTip',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/report/reportTip.vue')

                        },
                        //环保风险开始
                        {
                            path: '/riskEvaluationAnalysis',
                            name: 'riskEvaluationAnalysis',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/environmentalRiskManager/riskEvaluationAnalysis.vue')
                        },
                        {
                            path: '/environmentalRiskPreset',
                            name: 'environmentalRiskPreset',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/environmentalRiskManager/environmentalRiskPreset.vue')
                        },
                        {
                            path: '/environmentalRiskIdentification',
                            name: 'environmentalRiskIdentification',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/environmentalRiskManager/environmentalRiskIdentification.vue')
                        },
                        {
                            path: '/environmentalRiskApproval',
                            name: 'environmentalRiskApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/environmentalRiskManager/environmentalRiskApproval.vue')
                        },
                        {
                            path: '/environmentalRiskAssess',
                            name: 'environmentalRiskAssess',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/environmentalRiskManager/environmentalRiskAssess.vue')
                        },
                        {
                            path: '/environmentalRiskBase',
                            name: 'environmentalRiskBase',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/environmentalRiskManager/environmentalRiskBase.vue')
                        },
                        //环保风险结束
                        //安全检查start
                        {
                            path:'/checkModelList',
                            name:'checkModelList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityCheck/model/modelList.vue')
                        },
                        {
                            path:'/checkItemsInfo',
                            name:'checkItemsInfo',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityCheck/model/itemsInfo.vue')
                        },
                        {
                            path:'/securityCheckPlanList',
                            name:'securityCheckPlanList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityCheck/plan/planList.vue')
                        },
                        {
                            path:'/safetyRecord',
                            name:'safetyRecord',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/safetyRecord/index.vue')
                        },
                        {
                            path:'/securityCheckTaskList',
                            name:'securityCheckTaskList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityCheck/task/taskList.vue')
                        },
                        {
                            path:'/checkList',
                            name:'checkList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityCheck/toCheck/checkList.vue')
                        },
                        {
                            path:'/checkWithoutModel',
                            name:'checkWithoutModel',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityCheck/toCheck/checkWithoutModel.vue')
                        },
                        {
                            path:'/checkWithModel',
                            name:'checkWithModel',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityCheck/toCheck/checkWithModel.vue')
                        },
                        {
                            path:'/securityCheckproblemList',
                            name:'securityCheckproblemList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityCheck/audit/problemList.vue'),
                        },
                        {
                            path:'/verifyList',
                            name:'verifyList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityCheck/verify/verifyList.vue')
                        },
                        {
                            path:'/verifyShow',
                            name:'verifyShow',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityCheck/verify/verifyShow.vue')
                        },
                        {
                            path:'/rectifyList',
                            name:'rectifyList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityCheck/rectify/rectifyList.vue')
                        },
                        //安全检查end
                        //隐患 start
                        {
                            path: '/hidHazard',
                            name: 'hidHazard',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/hidHazardList.vue')
                        },
                        {
                            path: '/investigationList',
                            name: 'investigationList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/investigationList.vue')
                        },
                        {
                            path: '/checkrecordList',
                            name: 'checkrecordList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/checkrecordList.vue')
                        },
                        {
                            path: '/hidHazardDetail',
                            name: 'hidHazardDetail',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/hidHazardDetail.vue')
                        },
                        {
                            path: '/hidHazardOrg',
                            name: 'hidHazardOrg',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/hidHazardOrgList.vue')
                        },
                        {
                            path: '/apsgCensus',
                            name: 'apsgCensus',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/apsgCensus.vue')
                        },
                        {
                            path: '/apsgCheckrecordList',
                            name: 'apsgCheckrecordList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/apsgCheckrecordList.vue')
                        },
                        {
                            path: '/apsgItemTypeManager',
                            name: 'apsgItemTypeManager',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/apsgItemTypeManager2.vue')
                        },
                        {
                            path: '/apsgItemPlan',
                            name: 'apsgItemPlan',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/apsgItemPlan.vue')
                        },
                        {
                            path: '/apsgPlan',
                            name: 'apsgPlan',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/apsgPlan.vue')
                        },
                        {
                            path: '/apsgNotice',
                            name: 'apsgNotice',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/apsgNotice.vue')
                        },
                        {
                            path: '/apsgTask',
                            name: 'apsgTask',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/apsgTask.vue')
                        },
                        {
                            path: '/apsgTaskTimeout',
                            name: 'apsgTaskTimeout',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/apsgTaskTimeout.vue')
                        },
                        {
                            path: '/apsgCheckrecordCount',
                            name: 'apsgCheckrecordCount',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/apsgCheckrecordCount.vue')
                        },
                        {
                            path: '/apsgCheckrecordCount2',
                            name: 'apsgCheckrecordCount2',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/apsgCheckrecordCount2.vue')
                        },
                        {
                            path: '/apsgItemCount',
                            name: 'apsgItemCount',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/apsgItemCount.vue')
                        },
                        {
                            path: '/investigationCount',
                            name: 'investigationCount',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/investigationCount.vue')
                        },
                        {
                            path: '/assessmentOrg',
                            name: 'assessmentOrg',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/assessment/assessmentOrg.vue')
                        },
                        {
                            path: '/assessmentUser',
                            name: 'assessmentUser',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/assessment/assessmentUser.vue')
                        },
                        {
                            path: '/assessmentSelf',
                            name: 'assessmentSelf',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/assessment/assessmentSelf.vue')
                        },
                        {
                            path: '/assessmentOrgRank',
                            name: 'assessmentOrgRank',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/assessment/assessmentOrgRank.vue')
                        },
                        {
                            path: '/assessmentOrgRankYear',
                            name: 'assessmentOrgRankYear',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/assessment/assessmentOrgRankYear.vue')
                        },
                        {
                            path: '/evaluationPerfForApproval',
                            name: 'evaluationPerfForApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/evaluationPerfForApproval.vue')
                        },
                        {//src/views/safe/cockpit/homepage.vue
                            path: '/cockpit',
                            name: 'cockpit',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/cockpit/homepage.vue')
                        },
                        //统计分析
                        {
                            path: '/SaStaffEnvinfo',
                            name: 'SaStaffEnvinfo',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/envinfo/staff/SaStaffEnvinfo.vue')
                        },
                        {
                            path: '/StaffStatistics',
                            name: 'StaffStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/envinfo/staff/StaffStatistics.vue')
                        },
                        {
                            path: '/formCounntStatistics',
                            name: 'formCounntStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/envinfo/staff/formCounntStatistics.vue')
                        },
                        {
                            path: '/weekStatis',
                            name: 'weekStatis',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/envinfo/staff/weekStatis.vue')
                        },
                        {
                            path: '/receipt',
                            name: 'receipt',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/receipt/receipt.vue')
                        },
                        {
                            path: '/trainAndMeeting',
                            name: 'trainAndMeeting',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/receipt/trainAndMeeting.vue')
                        },
                        {
                            path: '/receiptStatistics',
                            name: 'receiptStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/receipt/statistics.vue')
                        },
                        {
                            path: '/envinfocompan',
                            name: 'envinfocompan',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/envinfo/compan/index.vue')
                        },
                        {
                            path: '/checkUnit',
                            name: 'checkUnit',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/envinfo/compan/checkUnit.vue')
                        },
                        {
                            path: '/DangerList',
                            name: 'DangerList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/treeYearAction/DangerList.vue')
                        },
                        {
                            path: '/MeasuresList',
                            name: 'MeasuresList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/treeYearAction/MeasuresList.vue')
                        },
                        {
                            path: '/implementation',
                            name: 'implementation',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/treeYearAction/implementation.vue')
                        },

                        {
                            path: '/materialsTree',
                            name: 'materialsTree',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/fileManagement/materialsTree.vue')
                        },
                        {
                            path: '/expireWarnNotice',
                            name: 'expireWarnNotice',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/noticeCenter/expireWarnNotice.vue')
                        },
                        //事故调查报告
                        {
                            path: '/sagovernment',
                            name: 'sagovernment',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/report/government.vue')
                        },
                        {
                            path: '/sagroup',
                            name: 'sagroup',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/report/group.vue')
                        },
                        {
                            path: '/saenterprise',
                            name: 'saenterprise',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/report/enterprise.vue')
                        },

                        {
                            path: '/saSuperviseInspectRpt',
                            name: 'saSuperviseInspectRpt',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityCheck/superviseInspectRpt/index.vue'),
                            beforeEnter: companInterceptor
                        },
                        {
                            path: '/companStatistics',
                            name: 'companStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/envinfo/compan/statistics.vue')
                        },

                        {
                            path: '/trainingRecords',
                            name: 'trainingRecords',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/trainingManagement/trainingRecords.vue')
                        },
                        {
                            path: '/meetingRecords',
                            name: 'meetingRecords',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/trainingManagement/meetingRecords.vue')
                        },
                        {
                            path: '/trainingSchedule',
                            name: 'trainingSchedule',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/trainingManagement/trainingSchedule.vue')
                        },
                        {
                            path: '/trainingScheduleStat',
                            name: 'trainingScheduleStat',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/trainingManagement/trainingScheduleStat.vue')
                        },
                        {
                            path: '/attendanceReceiptForm',
                            name: 'attendanceReceiptForm',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/trainingManagement/attendanceReceiptForm.vue')
                        },
                        {
                            path: '/trainingReceiptForm',
                            name: 'trainingReceiptForm',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/trainingManagement/trainingReceiptForm.vue')
                        },
                        {
                            path: '/trainingCourseManagement',
                            name: 'trainingCourseManagement',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/trainingManagement/trainingCourseManagement.vue')
                        },
                        {
                            path: '/meetingNotic',
                            name: 'meetingNotic',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/meeting/notic/index.vue')
                        },
                        {
                            path: '/meetingReceipt',
                            name: 'meetingReceipt',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/meeting/receipt/index.vue')
                        },
                        {
                            path: '/noticReceipt',
                            name: 'noticReceipt',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/meeting/notic/noticReceipt.vue')
                        },
                        {
                            path: '/twoPlusFourReceipt',
                            name: 'twoPlusFourReceipt',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/receipt/twoPlusFourReceipt.vue')
                        },

                        {
                            path: '/taskBookApproval',
                            name: 'taskBookApproval',
                            component: () =>
                                import( /* webpackPrefetch: true */ '@/views/safe/taskBook/taskBookApproval.vue')
                        },
                        {
                            path: '/roleManagerUserApproval',
                            name: 'roleManagerUserApproval',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/base/authorityManager/roleManagerUserApproval.vue')
                        },

                        {
                            path: '/envTwoAccountForApproval',
                            name: 'envTwoAccountForApproval',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/environment/account/EnQuestionForApproval.vue')
                        },
                        {
                            path: '/floodPrevention',
                            name: 'floodPrevention',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/floodPrevention/floodPrevention.vue')
                        },
                        {
                            path: '/LeadingResponsibility',
                            name: 'LeadingResponsibility',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/floodPrevention/LeadingResponsibility.vue')
                        },
                        {
                            path: '/MaterialReserve',
                            name: 'MaterialReserve',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/floodPrevention/MaterialReserve.vue')
                        },
                        {
                            path: '/PartResponsibility',
                            name: 'PartResponsibility',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/floodPrevention/PartResponsibility.vue')
                        },
                        {
                            path: '/RescuePersonnel',
                            name: 'RescuePersonnel',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/floodPrevention/RescuePersonnel.vue')
                        },
                        {
                            path: '/mailConfig',
                            name: 'mailConfig',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/mail/mailConfig.vue')
                        },
                        {
                            path: '/sendMail',
                            name: 'sendMail',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/mail/sendMail.vue')
                        },
                        {
                            path: '/questionnaireList',
                            name: 'questionnaireList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/questionnaire/questionnaireList.vue')
                        },
                        {
                            path: '/construction',
                            name: 'construction',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/construction/index.vue')
                        },
						//企业检修计划
						{
						    path: '/examSelect',
						    name: 'examSelect',
						    component: () =>
						        import( /* webpackPrefetch: true */'@/views/safe/exam/examSelect.vue')
						},
                        {
                            path: '/examSelectWork',
                            name: 'examSelectWork',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/exam/examSelectWork.vue')
                        },
                        {
                            path: '/examSelectWorkStatistics',
                            name: 'examSelectWorkStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/exam/statistics.vue')
                        },
						//清库作业统计
						{
						    path: '/concreteCleanSelect',
						    name: 'concreteCleanSelect',
						    component: () =>
						        import( /* webpackPrefetch: true */'@/views/safe/concreteClean/concreteCleanSelect.vue')
						},
						//注册安全工程师考试通过情况统计
						{
						    path: '/engineerPassRateSelect',
						    name: 'engineerPassRateSelect',
						    component: () =>
						        import( /* webpackPrefetch: true */'@/views/safe/security/engineerPassRateSelect.vue')
						},
						//注册安全工程师考试统计分析
						{
						    path: '/engineerStatistics',
						    name: 'engineerStatistics',
						    component: () =>
						        import( /* webpackPrefetch: true */'@/views/safe/security/statistics.vue')
						},
                        //注册安全工程师
                        {
                            path: '/safeCertifiedEngineer',
                            name: 'safeCertifiedEngineer',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/security/safeCertifiedEngineer.vue')
                        },
                        {
                            path: '/safeCerEngStatistics',
                            name: 'safeCerEngStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/security/safeCerEngStatistics.vue')
                        },
						//安全环保处罚通知单
						{
						    path: '/punishInfoSelect',
						    name: 'punishInfoSelect',
						    component: () =>
						        import( /* webpackPrefetch: true */'@/views/safe/punish/punishInfoSelect.vue')
						},
						//培训计划统计分析
						{
							path:'/scheduleStatistics',
                            name: 'scheduleStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/trainingManagement/scheduleStatistics.vue')
                        },
                        {
                            path: '/scheduleStatisticsComp',
                            name: 'scheduleStatisticsComp',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/trainingManagement/scheduleStatisticsComp.vue')
                        },
                        {
                            path: '/specialEqMaintain',
                            name: 'specialEqMaintain',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/rpt/specialEqSafeRpt/SpecialEqMaintain.vue')
                        },
                        // {
                        //   // 特种设备台账（新）
                        //   path: '/equipmentAccount',
                        //   name: 'equipmentAccount',
                        //   component: () =>
                        // 		import( /* webpackPrefetch: true */'@/views/safe/rpt/specialEqSafeRpt/equipmentAccount.vue')
                        // },
                        // {
                        //   // 特种设备台账（待审）
                        //   path: '/eqAccountPending',
						//   name: 'eqAccountPending',
						//   component: () => import( /* webpackPrefetch: true */'@/views/safe/rpt/specialEqSafeRpt/eqAccountPending.vue')
						// },

						//案例库
						{
							path:'/securityIssues',
							name:'securityIssues',
							component: () =>
								import( /* webpackPrefetch: true */'@/views/safe/securityIssues/index.vue')
						},

                        {
                            path: '/contractorTraining',
                            name: 'contractorTraining',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/riskPreventionControl/riskIdentification/contractorTraining.vue')
                        },
                        {
                            path: '/sanction',
                            name: 'sanction',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/sanction/index.vue')
                        },
                        {
                            path: '/testList',
                            name: 'testList',
                            component: () =>
                                import( /* webpackPrefetch: true */ '@/views/safe/study/paper/testList.vue')
                        },
                        {
                            path: '/paperList',
                            name: 'paperList',
                            component: () =>
                                import( /* webpackPrefetch: true */ '@/views/safe/study/paper/paperList.vue')
                        },
                        {
                            path: '/questionBase',
                            name: 'questionBase',
                            component: () =>
                                import( /* webpackPrefetch: true */ '@/views/safe/study/question/questionBase.vue')
                        },
                        {
                            path: '/paperTeam',
                            name: 'paperTeam',
                            component: () =>
                                import( /* webpackPrefetch: true */ '@/views/safe/study/paperTeam/paperTeam.vue')
                        },
                        {
                            path: '/questionList',
                            name: 'questionList',
                            component: () =>
                                import( /* webpackPrefetch: true */ '@/views/safe/study/question/questionList.vue')
                        },
                        {
                            path: '/wrongLib',
                            name: 'wrongLib',
                            component: () =>
                                import( /* webpackPrefetch: true */ '@/views/safe/study/wrongLib/wrongLib.vue')
                        },
                        {
                            path: '/taskBookStatistics',
                            name: 'taskBookStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */ '@/views/safe/taskBook/statistics.vue')
                        },
						{
						    path: '/saTaskBookStatistics',
						    name: 'saTaskBookStatistics',
						    component: () =>
						        import( /* webpackPrefetch: true */ '@/views/safe/taskBook/statistics.vue')
						},
						{
						    path: '/saTaskBook',
						    name: 'saTaskBook',
						    component: () =>
						        import( /* webpackPrefetch: true */ '@/views/safe/taskBook/taskBook.vue')
						},
                        {
                            path: '/taskBook',
                            name: 'taskBook',
                            component: () =>
                                import( /* webpackPrefetch: true */ '@/views/safe/taskBook/taskBook.vue')
                        },
                        {
                            path: '/onlineLearning',
                            name: 'onlineLearning',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/trainingManagement/onlineLearning.vue')
                        },
                        {
                            path: '/saOutsidersInform',
                            name: 'saOutsidersInform',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/saOutsidersInform.vue')
                        },
                        {
                            path: '/meetingAttendance',
                            name: 'meetingAttendance',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/meeting/attendance/index.vue')
                        },
                        {
                            path: '/meetingTrain',
                            name: 'meetingTrain',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/meeting/attendance/index1.vue')
                        },
                        {
                            path: '/AuditSceneStandards',
                            name: 'AuditSceneStandards',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/AuditSceneStandards.vue')
                        },
                        {
                            path: '/auditMaterialsTree',
                            name: 'auditMaterialsTree',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/fileManagement/auditMaterialsTree.vue')
                        },
                        {
                            path: '/auditRectificationTip',
                            name: 'auditRectificationTip',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/auditRectificationTip.vue')
                        },
                        {
                            path: '/auditTwoRectificationTip',
                            name: 'auditTwoRectificationTip',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/auditRectificationTip.vue')
                        },
                        {
                            path: '/auditProblemTip',
                            name: 'auditProblemTip',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/auditProblemTip.vue')
                        },
                        {
                            path: '/auditTwoProblemTip',
                            name: 'auditTwoProblemTip',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/auditProblemTip.vue')
                        },
                        {
                            path: '/AuditBasicsStandards',
                            name: 'AuditBasicsStandards',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/AuditBasicsStandards.vue')
                        },
                        {
                            path: '/AuditTailoring',
                            name: 'AuditTailoring',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/AuditTailoring.vue')
                        },
                        {
                            path: '/AuditTailoringDetail',
                            name: 'AuditTailoringDetail',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/AuditTailoringDetail.vue')
                        },
                        {
                            path: '/AuditTwoTailoringDetail',
                            name: 'AuditTwoTailoringDetail',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/AuditTailoringDetail.vue')
                        },
                        {
                            path: '/problemListView',
                            name: 'problemListView',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/problemListView.vue')
                        },
                        {
                            path: '/twoProblemListView',
                            name: 'twoProblemListView',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/problemListView.vue')
                        },
                        {
                            path: '/auditMissionRank',
                            name: 'auditMissionRank',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/auditMissionRank.vue')
                        },
                        {
                            path: '/auditTwoMissionRank',
                            name: 'auditTwoMissionRank',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/auditMissionRank.vue')
                        },
                        {
                            path: '/AuditTeamStandards',
                            name: 'AuditTeamStandards',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/AuditTeamStandards.vue')
                        },
                        {
                            path: '/AuditTwoTailoring',
                            name: 'AuditTwoTailoring',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/AuditTailoring.vue')
                        },
                        {
                            path: '/adtPromotion',
                            name: 'adtPromotion',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/adtPromotion.vue')
                        },
                        {
                            path: '/adtTwoPromotion',
                            name: 'adtTwoPromotion',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/adtPromotion.vue')
                        },
                        {
                            path: '/adtRectification',
                            name: 'adtRectification',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/adtRectification.vue')
                        },
                        {
                            path: '/adtTwoRectification',
                            name: 'adtTwoRectification',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/adtRectification.vue')
                        },
                        {
                            path: '/apsgForm2',
                            name: 'apsgForm2',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/apsgForm.vue')
                        },
                        {
                            path: '/hidHazardFormDetail',
                            name: 'hidHazardFormDetail',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/hidHazardFormDetail.vue')
                        },
                        {
                            path: '/companyNotice',
                            name: 'companyNotice',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/companyNotice.vue'),
                            beforeEnter: companInterceptor
                        },
                        {
                            path: '/companyNoticeUnClose',
                            name: 'companyNoticeUnClose',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/companyNoticeUnClose.vue'),
                            beforeEnter: companInterceptor
                        },
                        {
                            path: '/companyNoticeStatistic',
                            name: 'companyNoticeStatistic',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/companyNoticeStatistic.vue'),
                        },
                        {
                            path: '/companyNotice2',
                            name: 'companyNotice2',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/companyNotice2.vue')
                        },
                        {
                            path: '/activityMonth',
                            name: 'activityMonth',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/activityMonth/activityMonth.vue')
                        },
                        {
                            path: '/topicActivity',
                            name: 'topicActivity',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/topicActivity/topic.vue')
                        },
                        {
                            path: '/topicWork',
                            name: 'topicWork',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/topicActivity/topicWork.vue')
                        },
                        {
                            path: '/topicActivityCustomize',
                            name: 'topicActivityCustomize',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/topicActivity/topicCustomize.vue')
                        },
                        {
                            path: '/topicWorkCustomize',
                            name: 'topicWorkCustomize',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/topicActivity/topicWorkCustomize.vue')
                        },
                        {
                            path: '/topicStatistic',
                            name: 'topicStatistic',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/topicActivity/topicStatistic.vue')
                        },
                        //在线培训
                        {
                            path: '/displayTraining',
                            name: 'displayTraining',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/onlineTraining/displayTraining/displayTraining.vue')
                        },
                        {
                            path: '/trainingTree',
                            name: 'trainingTree',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/onlineTraining/uploadTraining/trainingTree.vue')
                        },
                        {
                            path: '/trainingDetail',
                            name: 'trainingDetail',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/onlineTraining/trainingDetail/trainingDetail.vue')
                        },
                        //使用情况
                        {
                            path: '/useCase',
                            name: 'useCase',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/useCase/useCase.vue')
                        },
                        //管理员使用情况
                        {
                            path: '/adminUseCase',
                            name: 'adminUseCase',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/adminUseCase/index.vue')
                        },
                        {
                            path: '/securityDirectorInfo',
                            name: 'securityDirectorInfo',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/securityDirector/securityDirectorInfo.vue')
                        },
                        {
                            path: '/securityDirectorRegister',
                            name: 'securityDirectorRegister',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/securityDirector/securityDirectorRegister.vue')
                        },
                        {
                            path: '/securityDirectorCount',
                            name: 'securityDirectorCount',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/securityDirector/securityDirectorCount.vue')
                        },
                        {
                            path: '/securityDirectorSummary',
                            name: 'securityDirectorSummary',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/securityDirector/securityDirectorSummary.vue')
                        },
                        {
                            path: '/securityDirectorChange',
                            name: 'securityDirectorChange',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/securityDirector/securityDirectorChange.vue')
                        },
                        {
                            path: '/securityDirectorReportStatistics',
                            name: 'securityDirectorReportStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/securityDirector/securityDirectorReportStatistics.vue')
                        },
                        {
                            path: '/observationRecordList',
                            name: 'observationRecordList',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/observationRecord/observationRecordList.vue')
                        },
                        {
                            path: '/safetyProductionList',
                            name: 'safetyProductionList',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/safetyProduction/safetyProductionList.vue')
                        },
                        {
                            path: '/safetyProductionCount',
                            name: 'safetyProductionCount',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/safetyProduction/safetyProductionCount.vue')
                        },
                        {
                            path: '/safetyProductionCompany',
                            name: 'safetyProductionCompany',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/safetyProduction/safetyProductionCompany.vue')
                        },
                        {
                            path: '/safetyProductionAnalysis',
                            name: 'safetyProductionAnalysis',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/safetyProduction/safetyProductionAnalysis.vue')
                        },
                        {
                            path: '/safetyProductionAnalysis2',
                            name: 'safetyProductionAnalysis2',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/safetyProduction/safetyProductionAnalysis2.vue')
                        },
                        {
                            path: '/safetyProductionBudgetList',
                            name: 'safetyProductionBudgetList',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/safetyProduction/safetyProductionBudgetList.vue')
                        },
                        //表单2021-09-01
                        {
                            path: '/executiveReport',
                            name: 'executiveReport',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/executiveReport.vue')
                        },
                        {
                            path: '/FacilitiesStatistics',
                            name: 'FacilitiesStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/FacilitiesStatistics.vue')
                        },
                        {
                            path: '/pollutionControlFacilities',//污染防治设施台账
                            name: 'pollutionControlFacilities',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/pollutionControlFacilities.vue')
                        },
                        {
                            path: '/actinogenManagementAccount',//放射源管理台账
                            name: 'actinogenManagementAccount',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/actinogenManagementAccount.vue')
                        },
                        {
                            path: '/equipmentRegist',//辐射监测及防护设备登记表
                            name: 'equipmentRegist',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/equipmentRegist.vue')
                        },
                        {
                            path: '/radiationWorkerRegistration',//辐射工作人员登记表
                            name: 'radiationWorkerRegistration',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/radiationWorkerRegistration.vue')
                        },
                        {
                            path: '/rayStanding',//射线装置台账
                            name: 'rayStanding',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/rayStanding.vue')
                        },
                        {
                            path: '/greenFactory',//绿色制造（工厂）
                            name: 'greenFactory',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/greenFactoryConstructionRegist.vue')
                        },
                        {
                            path: '/greenSupplyChain',//绿色制造（供应链）
                            name: 'greenSupplyChain',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/greenFactoryConstructionRegist.vue')
                        },
                        {
                            path: '/greenPark',//绿色制造（园区）
                            name: 'greenPark',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/greenFactoryConstructionRegist.vue')
                        },
                        {
                            path: '/greenMine',//绿色矿山
                            name: 'greenMine',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/greenFactoryConstructionRegist.vue')
                        },
                        {
                            path: '/envMobileMachinery',//移动源环境管理_非道路移动机械
                            name: 'envMobileMachinery',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/envMobileMachinery.vue')
                        },
                        {
                            path: '/envVehicle',//移动源环境管理_机动车
                            name: 'envVehicle',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/envVehicle.vue')
                        },
                        {
                            path: '/envMobileSourceStatis',//移动源环境管理 车辆统计
                            name: 'envMobileSourceStatis',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/envMobileSourceStatis.vue')
                        },
                        {
                            path: '/purchasedSolidWaste',//外购一般固体废物利用处置年度台账
                            name: 'purchasedSolidWaste',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/purchasedSolidWaste.vue')
                        },
                        {
                            path: '/selfGeneralSolidWaste',//自产一般固体废物管理台账
                            name: 'selfGeneralSolidWaste',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/selfGeneralSolidWaste.vue')
                        },
                        {
                            path: '/selfHazardousWaste',//自产危险废物管理台账
                            name: 'selfHazardousWaste',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/selfHazardousWaste.vue')
                        },
                        {
                            path: '/selfTestScheme',//排污许可证管理-自行检测方案
                            name: 'selfTestScheme',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/selfTestScheme.vue')
                        },
                        {
                            path: '/selfTestReport',//排污许可证管理-自行检测报告
                            name: 'selfTestReport',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/selfTestReport.vue')
                        },
                        {
                            path: '/nearMissRecord',//“未遂事件记录”
                            name: 'nearMissRecord',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/nearMissRecord.vue')
                        },
                        {
                            path: '/gasUseAccount',
                            name: 'gasUseAccount',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/gasUseAccount.vue')
                        },
                        {
                            path: '/gasUseAccountStatistics',
                            name: 'gasUseAccountStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/gasUseAccountStatistics.vue')
                        },
                        {
                            path: '/highBuildingRegistration',
                            name: 'highBuildingRegistration',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/highBuildingRegistration.vue')
                        },
                        {
                            path: '/fireSafetyUnitsRegistration',
                            name: 'fireSafetyUnitsRegistration',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/fireSafetyUnitsRegistration.vue')
                        },
                        {
                            path: '/distributionOfFireControl',
                            name: 'distributionOfFireControl',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/distributionOfFireControl.vue')
                        },
                        {
                            path: '/coalMillFireRegistration',
                            name: 'coalMillFireRegistration',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/coalMillFireRegistration.vue')
                        },
                        {
                            path: '/fireStat',
                            name: 'fireStat',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/fireStat.vue')
                        },
                        {
                            path: '/occupationalDiseaseStatistical',
                            name: 'occupationalDiseaseStatistical',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/occupationalDiseaseStatistical.vue')
                        },
                        {
                            path: '/mineConSecurity',
                            name: 'mineConSecurity',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/mineConSecurity.vue')
                        },
                        {
                            path: '/MineConSpecialInspectionChecklist',
                            name: 'MineConSpecialInspectionChecklist',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/MineConSpecialInspectionChecklist.vue')
                        },
                        {
                            path: '/pollutionControlBattle',
                            name: 'pollutionControlBattle',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/pollutionControlBattle.vue')
                        },
                        {
                            path: '/securityProtectionManage',//所属企业治安保卫基础管理台账
                            name: 'securityProtectionManage',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/securityProtectionManage.vue')
                        },
                        {
                            path: '/dutySchedule',
                            name: 'dutySchedule',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/environment/table/dutySchedule.vue')
                        },
                        {
                            path: '/responsibilityAccountList',//责任书签订台账
                            name: 'responsibilityAccountList',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/responsibilityAccount/responsibilityAccountList.vue')
                        },
                        {
                            path: '/curcialFireControlUnitList',//消防管理单位台账
                            name: 'curcialFireControlUnitList',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/curcialFire/curcialFireControlUnitList.vue')
                        },
                        {
                            path: '/curcialFireControlFacilitiesList',//消防设备设施台账
                            name: 'curcialFireControlFacilitiesList',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/curcialFire/curcialFireControlFacilitiesList.vue')
                        },
                        {
                            path: '/curcialFireControlUnitStatistics',//消防管理单位统计
                            name: 'curcialFireControlUnitStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/curcialFire/curcialFireControlUnitStatistics.vue')
                        },
                        {
                            path: '/curcialFireControlFacilitiesStatistics',//消防设备设施统计
                            name: 'curcialFireControlFacilitiesStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/curcialFire/curcialFireControlFacilitiesStatistics.vue')
                        },
                        //流程管理，数据详情start
                        {
                            path: '/securityDirectorForm1',
                            name: 'securityDirectorForm1',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityDirector/securityDirectorForm.vue')
                        },
                        {
                            path: '/problemRectForApproval1',
                            name: 'problemRectForApproval1',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/safe/audit/problemRectForApproval.vue')
                        },
                        {
                            path: '/envAccountForApproval1',
                            name: 'envAccountForApproval1',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/environment/account/EnQuestionForApproval.vue')
                        },
                        {
                            path: '/problemTwoRectForApproval1',
                            name: 'problemTwoRectForApproval1',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/safe/auditTwoLevel/problemRectForApproval.vue')
                        },
                        {
                            path: '/EnQuestionDetailForApproval1',
                            name: 'EnQuestionDetailForApproval1',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/environment/account/EnQuestionDetailForApproval.vue')
                        },
                        {
                            path: '/taskBookApproval1',
                            name: 'taskBookApproval1',
                            component: () =>
                                import( /* webpackPrefetch: true */ '@/views/safe/taskBook/taskBookApproval.vue')
                        },
                        {
                            path: '/roleManagerUserApproval1',
                            name: 'roleManagerUserApproval1',
                            component: () =>
                                import (/* webpackPrefetch: true */'@/views/base/authorityManager/roleManagerUserApproval.vue')
                        },
                        {
                            path: '/securityDirectorRegisterForm1',
                            name: 'securityDirectorRegisterForm1',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/securityDirector/securityDirectorRegisterForm.vue')
                        },
                        {
                            path: '/securityDirectorChangeForm1',
                            name: 'securityDirectorChangeForm1',
                            component: () =>
                                import( /* webpackPrefetch: true */  '@/views/safe/securityDirector/securityDirectorChangeForm.vue')
                        },
                        {
                            path:'/reportListForApproval1',
                            name:'reportListForApproval1',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/report/reportListForApproval.vue')

                        },
                        {
                            path:'/evalSummaryApproval1',
                            name:'evalSummaryApproval1',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/environment/standardization/evalSummaryApproval.vue')
                        },
                        {
                            path: '/apsgForm1',
                            name: 'apsgForm1',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/apsgForm.vue')
                        },
                        {
                            path: '/hidHazardForm1',
                            name: 'hidHazardForm1',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/hidHazardForm.vue')
                        },
                        {
                            path: '/rectificationNoticeForm1',
                            name: 'rectificationNoticeForm1',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/rectificationNoticeForm.vue')
                        },
                        {
                            path: '/briefingListForApproval1',
                            name: 'briefingListForApproval1',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/briefing/briefingListForApproval.vue')
                        },
                        {
                            path: '/enterpriseForApproval1',
                            name: 'enterpriseForApproval1',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/accident/report/enterpriseForApproval.vue')
                        },
                        {
                            path: '/eventSendForApproval1',
                            name: 'eventSendForApproval1',
                            component:()=>
                                import( /* webpackPrefetch: true */ '@/views/environment/env/eventSend/eventSendForApproval.vue')
                        },
                        {
                            path: '/programmeForApproval1',
                            name: 'programmeForApproval1',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/activity/programme/programmeForApproval.vue')
                        },
                        {
                            path: '/auditReportForm1',
                            name: 'auditReportForm1',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/audit/adtReportForm.vue')
                        },
                        {
                            path: '/auditTwoReportForm1',
                            name: 'auditTwoReportForm1',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/auditTwoLevel/adtReportForm.vue')
                        },
                        {
                            path: '/interestedPartiesBlackForm1',
                            name: 'interestedPartiesBlackForm1',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/interestedPartiesBlackForm.vue')
                        },
                        {
                            path:'/ptwTicketForApproval1',
                            name:'ptwTicketForApproval1',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ptw/ticket/ptwTicketForApproval.vue')
                        },
                        {
                            path: '/holidayConfig',
                            name: 'holidayConfig',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/holiday/holidayConfig.vue')
                        },
                        {
                            path: '/expirePlan',
                            name: 'expirePlan',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/expirePlan.vue')
                        },
                        {
                            path: '/fourNotTwoStraightList',
                            name: 'fourNotTwoStraightList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/fourNotTwoStraightList.vue')
                        },
                        {
                            path: '/ecoPortraitStandard',
                            name: 'ecoPortraitStandard',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ecoPortrait/standard.vue')
                        },
                        {
                            path: '/ecoPortraitSubmit',
                            name: 'ecoPortraitSubmit',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ecoPortrait/submit.vue')
                        },
                        {
                            path: '/ecoPortraitFormDisplay',
                            name: 'ecoPortraitFormDisplay',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ecoPortrait/formDisplay.vue')
                        },
                        {
                            path: '/ecoPortraitStatistics',
                            name: 'ecoPortraitStatistics',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ecoPortrait/statistics.vue')
                        },
                        {
                            path: '/ecoPortraitTailoring',
                            name: 'ecoPortraitTailoring',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/ecoPortrait/tailoring.vue')
                        },
                        //流程管理，数据详情end
                        {
                            path: '/questionDetail',
                            name: 'questionDetail',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/environment/account/QuestionDetail.vue')
                        },
                        {
                            path: '/questionAccount',
                            name: 'questionAccount',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/environment/account/QuestionAccount.vue')
                        },
                        {
                            path: '/EnvQuestionAccountStat',
                            name: 'EnvQuestionAccountStat',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/environment/account/EnvQuestionAccountStat.vue')
                        },
                        {
                            path: '/SaQuestionAccountStat',
                            name: 'SaQuestionAccountStat',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/environment/account/SaQuestionAccountStat.vue')
                        },
                        {
                            path: '/EnProPublicity',//公示台账
                            name: 'EnProPublicity',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/environment/account/EnProPublicity.vue')
                        },
                        {
                            path: '/leaderPerformance',//公示台账
                            name: 'leaderPerformance',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/leaderPerformance/leaderPerformance.vue')
                        },
                        {
                            path: '/problemFeedbackList',
                            name: 'problemFeedbackList',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/problemFeedback/problemFeedbackList.vue')
                        },
                        {
                            path: '/problemFeedbackDetial',
                            name: 'problemFeedbackDetial',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/problemFeedback/problemFeedbackDetail.vue')
                        },
                        {
                            path: '/comprehensivePerformance',
                            name: 'comprehensivePerformance',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/envinfo/compan/comprehensivePerformance.vue')
                        },
                        {
                            path: '/workHandOver',
                            name: 'workHandOver',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/base/handOver/index.vue')
                        },
                        {
                            path: '/safetyComprehensiveExport',
                            name: 'safetyComprehensiveExport',
                            component: () =>
                                import( /* webpackPrefetch: true */'@/views/safe/safetyProduction/safetyComprehensiveExport.vue')
                        },
                        // 泰瑞慧谷路由
                        ...trhgRouterArr
                    ]
                },
            ]
        },
        {
            path: '/articalList',
            name: 'articalList',
            component: () =>//
                import( /* webpackPrefetch: true */'@/views/safe/door/articalList.vue')
        },
        {
            path: '/noticeDetail',
            name: 'noticeDetail',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/safe/door/noticeDetail.vue')
        },
        {
            path: '/videoPlay',
            name: 'videoPlay',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/safe/door/videoPlay.vue')
        },
        //驾驶舱
        {
            path: '/cockpit2',
            name: 'cockpit2',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/safe/cockpit/cockpitAll.vue')
        },
        {
            path: '/environmentControlCabin',
            name: 'environmentControlCabin',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/safe/cockpit/environmentControlCabin.vue')
        },
        {
            path: '/safeControlCabin',
            name: 'safeControlCabin',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/safe/cockpit/safeControlCabin.vue')
        },
        {
            path: '/articalPlay',
            name: 'articalPlay',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/safe/door/articalPlay.vue')
        },
        {
            path: '/artical',
            name: 'artical',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/safe/door/artical.vue')
        },
        {
            path: '/imgDetails',
            name: 'imgDetails',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/imgDetails.vue')
        },
        {
            path: '/about',
            name: 'About',
            component: () =>
                import( /* webpackPrefetch: true */'../views/About.vue')
        },
        {
            path: '/display',
            name: 'display',
            component:()=>
                import( /* webpackPrefetch: true */'@/views/login/display.vue')
        },
        {
            path: '/login',
            name: 'login',
            component: () =>
                import( /* webpackPrefetch: true */  '@/views/login/login.vue')
        },
        {
            path: '/loginLoading',
            name: 'loginLoading',
            component: () =>
                import( /* webpackPrefetch: true */  '@/views/login/loginLoading.vue')
        },
        {
            path: '/support',
            name: 'support',
            component: () =>
                import( /* webpackPrefetch: true */  '@/views/login/demo.vue')
        },
        {
            path: '/adtProgrammeForApproval_door',
            name: 'adtProgrammeForApproval_door',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/safe/audit/adtProgrammeForApproval.vue')
        },
        {
            path: '/adtReportForApproval_door',
            name: 'adtReportForApproval_door',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/safe/audit/adtReportForApproval.vue')
        },
        {
            path: '/evaluationPerfForApproval_door',
            name: 'evaluationPerfForApproval_door',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/safe/interestedPartiesManager/evaluationPerfForApproval.vue')
        },
        {
            path: '/briefingListForApproval_door',
            name: 'briefingListForApproval_door',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/safe/accident/briefing/briefingListForApproval.vue')
        },
        {
            path: '/programmeForApproval_door',
            name: 'programmeForApproval_door',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/safe/activity/programme/programmeForApproval.vue')
        },
        {
            path: '/apsgForm_door',
            name: 'apsgForm_door',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/apsgForm.vue')
        },
        {
            path: '/hidHazardForm_door',
            name: 'hidHazardForm_door',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/safe/hidHazard/hidHazardForm.vue')
        },
        {
            path: '/popularizationPlay',
            name: 'popularizationPlay',
            component: () =>
                import( /* webpackPrefetch: true */'@/views/safe/activity/popularization/popularizationPlay.vue')
        },
        {
            path: '/questionnaire',
            name: 'questionnaire',
            component: () =>
                import( /* webpackPrefetch: true */  '@/views/safe/questionnaire/questionnaire.vue')
        },
        {
            path: '/artivityArticalPlay',
            name: 'artivityArticalPlay',
            component: () =>
                import( /* webpackPrefetch: true */  '@/views/safe/activityMonth/articalPlay.vue')
        },
    ]
})



router.beforeEach((to, from, next) => {
    let isLogin = sessionStorage('token').get('Authorization');
    // 已登录状态；当路由到login时，跳转至home
    if (to.name === 'login') {
        if (isLogin) {
            router.push({
                path: '/'
            });
            return;
        }
    }
    if(to.query.state == "doorSkip"){
        next();
    }
    // 未登录状态；当路由到nextRoute指定页时，跳转至login
    else if ( to.name != 'display' && to.name != 'questionnaire' &&to.name != 'register' && to.name != 'login' && to.name != 'support' &&to.name != 'cockpit2'&&to.name != 'imgDetails'
        && to.name.indexOf("_door")==-1 &&to.name != 'noticeDetail' && to.name != 'artivityArticalPlay' && !isLogin) {
        next({
            path: '/login',
            // 将跳转的路由path作为参数，登录成功后跳转到该路由
            query: {
                redirect: to.fullPath
            }
        })
    } else {
        next();
    }

});

router.afterEach(route => {
});
export default router
